package com.qyer.lxp.model.price.normal;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import java.io.Serializable;
import java.util.List;

/**
 * Created by jiangping on 16/5/18.
 */
@XmlRootElement(name = "prices-collection")
@XmlAccessorType(XmlAccessType.FIELD)
public class PricesCollection implements Serializable{
    private static final long serialVersionUID = -8272318185690131242L;

    @XmlElement(name = "daily-prices")
    private List<DailyPrice> dailyPriceList;

    public List<DailyPrice> getDailyPriceList() {
        return dailyPriceList;
    }

    public void setDailyPriceList(List<DailyPrice> dailyPriceList) {
        this.dailyPriceList = dailyPriceList;
    }

    @Override
    public String toString() {
        return "PricesCollection{" +
                "dailyPriceList=" + dailyPriceList +
                '}';
    }
}
